package com.gscitysfy.cus.drain.modules.resource.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gscitysfy.cus.drain.modules.resource.dto.MnWarehouseRequest;
import com.gscitysfy.cus.drain.modules.resource.entity.DrainBaseMnWarehouse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gscitysfy.cus.drain.modules.warning.entity.DrainSignal;
import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物资仓库表 Mapper 接口
 * </p>
 *
 * @author user
 * @since 2022-10-24 16:57:08
 */
public interface DrainBaseMnWarehouseMapper extends BaseMapper<DrainBaseMnWarehouse> {
    IPage<DrainBaseMnWarehouse> getPageList(Page<DrainBaseMnWarehouse> page, @Param("drainBaseMnWarehouse") DrainBaseMnWarehouse drainBaseMnWarehouse);

    IPage<DrainBaseMnWarehouse> getByPages(Page<DrainBaseMnWarehouse> page, @Param("request") MnWarehouseRequest request);

    List<DrainBaseMnWarehouse> getListByIds(@Param("goodsName") String goodsNameReq, @Param("ids") List<String> ids);
}
